package com.mlick.dddk.service;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/**
 * Created by mlick on 2018-03-23.
 */
public class MyReceiver extends BroadcastReceiver {


    @Override
    public void onReceive(Context context, Intent intent) {
        if ("com.mlick.dddk.service.destory".equals(intent.getAction())) {
            Intent sevice = new Intent(context, DKService.class);
            context.startService(sevice);
        }
    }

}